package ModelLayer;

/**
 *
 * @author Gruppe 2
 */
public class Product {
    private String productID;
    private String name;
    private double purchasePrice;
    private double salesPrice;
    private double rentPrice;
    private String countryOfOrigin;
    private int minStock;
    private Supplier supplier;

    public Product(String productID, String name, double purchasePrice, double salesPrice, double rentPrice, String countryOfOrigin, int minStock, Supplier supplier)
    {
        this.productID = productID;
        this.name = name;
        this.purchasePrice = purchasePrice;
        this.salesPrice = salesPrice;
        this.rentPrice = rentPrice;
        this.countryOfOrigin = countryOfOrigin;
        this.minStock = minStock;
        this.supplier = supplier;
    }

    public Product()
    {
    }

    public String getProductID()
    {
        return productID;
    }

    public void setProductID(String productID)
    {
        this.productID = productID;
    }

    public String getCountryOfOrigin()
    {
        return countryOfOrigin;
    }

    public void setCountryOfOrigin(String countryOfOrigin)
    {
        this.countryOfOrigin = countryOfOrigin;
    }

    public int getMinStock()
    {
        return minStock;
    }

    public void setMinStock(int minStock)
    {
        this.minStock = minStock;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public double getPurchasePrice()
    {
        return purchasePrice;
    }

    public void setPurchasePrice(double purchasePrice)
    {
        this.purchasePrice = purchasePrice;
    }

    public double getRentPrice()
    {
        return rentPrice;
    }

    public void setRentPrice(double rentPrice)
    {
        this.rentPrice = rentPrice;
    }

    public double getSalesPrice()
    {
        return salesPrice;
    }

    public void setSalesPrice(double salesPrice)
    {
        this.salesPrice = salesPrice;
    }

    public Supplier getSupplier()
    {
        return supplier;
    }

    public void setSupplier(Supplier supplier)
    {
        this.supplier = supplier;
    }
}
